package javaagent.jvmtool;

import java.rmi.Remote;
import java.rmi.RemoteException;


public interface ToolService extends Remote {

    //  查找类
    String findClassName(String name) throws RemoteException;

    //  反编译类
    String jadClass(String className) throws RemoteException;

    /**
     * 获取方法列表
     * @param className
     * @return
     * @throws RemoteException
     */
    String findMethod(String className) throws RemoteException;

    /**
     * 测试方法性能
     * @param className
     * @return
     */
    String testMethod(String className) throws RemoteException;
}
